/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ntb.models;

import com.ntb.entities.StampDutyAndRegistration;
import java.sql.Timestamp;
import java.util.Iterator;

/**
 *
 * @author AnhTuan
 */
public interface StampDutyAndRegistrationDAO {

    public Iterator<StampDutyAndRegistration> getList();

    public Iterator<StampDutyAndRegistration> getList(int page);

    public int getPageCount();

    public StampDutyAndRegistration getRow(int id);
    
    public StampDutyAndRegistration getLast();

    public boolean checkDuplicate(int sdCharge, Timestamp startDate);

    public int add(StampDutyAndRegistration object);

    public int update(StampDutyAndRegistration object);

    public int delete(int id);

    public int deleteIn(String arrayIds);
}
